package com.ruoyi.wfshou.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.wfshou.mapper.ProjLogisticsMapper;
import com.ruoyi.wfshou.domain.ProjLogistics;
import com.ruoyi.wfshou.service.IProjLogisticsService;

/**
 * 物流技术类项目Service业务层处理
 * 
 * @author zongying
 * @date 2023-06-19
 */
@Service
public class ProjLogisticsServiceImpl implements IProjLogisticsService 
{
    @Autowired
    private ProjLogisticsMapper projLogisticsMapper;

    /**
     * 查询物流技术类项目
     * 
     * @param logisId 物流技术类项目主键
     * @return 物流技术类项目
     */
    @Override
    public ProjLogistics selectProjLogisticsByLogisId(Long logisId)
    {
        return projLogisticsMapper.selectProjLogisticsByLogisId(logisId);
    }

    /**
     * 查询物流技术类项目列表
     * 
     * @param projLogistics 物流技术类项目
     * @return 物流技术类项目
     */
    @Override
    public List<ProjLogistics> selectProjLogisticsList(ProjLogistics projLogistics)
    {
        return projLogisticsMapper.selectProjLogisticsList(projLogistics);
    }

    /**
     * 新增物流技术类项目
     * 
     * @param projLogistics 物流技术类项目
     * @return 结果
     */
    @Override
    public int insertProjLogistics(ProjLogistics projLogistics)
    {
        return projLogisticsMapper.insertProjLogistics(projLogistics);
    }

    /**
     * 修改物流技术类项目
     * 
     * @param projLogistics 物流技术类项目
     * @return 结果
     */
    @Override
    public int updateProjLogistics(ProjLogistics projLogistics)
    {
        return projLogisticsMapper.updateProjLogistics(projLogistics);
    }

    /**
     * 批量删除物流技术类项目
     * 
     * @param logisIds 需要删除的物流技术类项目主键
     * @return 结果
     */
    @Override
    public int deleteProjLogisticsByLogisIds(Long[] logisIds)
    {
        return projLogisticsMapper.deleteProjLogisticsByLogisIds(logisIds);
    }

    /**
     * 删除物流技术类项目信息
     * 
     * @param logisId 物流技术类项目主键
     * @return 结果
     */
    @Override
    public int deleteProjLogisticsByLogisId(Long logisId)
    {
        return projLogisticsMapper.deleteProjLogisticsByLogisId(logisId);
    }
}
